package com.movie.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "权限数据传输对象")
public class PermissionDTO {
    
    @Schema(description = "权限ID")
    private Long id;
    
    @Schema(description = "权限名称")
    private String name;
    
    @Schema(description = "权限代码")
    private String code;
    
    @Schema(description = "权限描述")
    private String description;
    
    @Schema(description = "权限类型")
    private String type;
    
    @Schema(description = "父权限ID")
    private Long parentId;
    
    @Schema(description = "排序号")
    private Integer sortOrder;
}